@import "mixins/mixins";
@import "common/var";
@import "_main";

@include b(pub) {
  @include e(formwrap) {
    margin: 20px 27px 0 25px;

    & .title {
      font-size: 13px;
      color: #2c2c2c;
      min-width: 65px;
      text-align: right;
      white-space: nowrap;
    }
  }

  @include e(category) {
    display: flex;
    flex-direction: row;

    & .list {
      flex: 1;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-start;
      text-align: center;
      margin-left: 10px;
    }

    & .list .item {
      font-size: 12px;
      color: #b3b3b3;
      border: 1rpx solid #d5d5d5;
      height: 31px;
      width: 71px;
      line-height: 31px;
      margin-right: 10px;
      margin-bottom: 14px;
      border-radius: 5px;
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      -ms-border-radius: 5px;
      -o-border-radius: 5px;
}

    & .list .item:nth-child(3n) {
      margin-right: 0;
    }

    & .list .item.active {
      color: #ff2445;
      border-color: #ff2445;
    }
  }

  @include e(address) {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;
    font-size: 13px;

    & .select {
      flex: 1;
      height: 28px;
      border: 1rpx solid #d5d5d5;
      border-radius: 3px;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      -ms-border-radius: 3px;
      -o-border-radius: 3px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      & p {
        color: #6c6c6c;
        font-size: 14px;
        height: 28px;
        line-height: 28px;
      }
      & image {
        width: 12px;
        height: 12px;
      }
    }

    & .address-wrap {
      margin-left: 10px;
      flex: 1;
      & textarea {
        padding-left: 10px;
        margin-top: 15px;
        height: 45px;
        max-width: 490rpx;
        border: 1rpx solid #d5d5d5;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
      }
    }
  }

  @include e(placeholder) {
    font-size: 13px;
    color: #b2b2b2;
  }

  @include e(time) {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;

    & .select {
      margin-left: 10px;
      width: 130px;
      height: 28px;
      border: 1rpx solid #d5d5d5;
      border-radius: 3px;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      -ms-border-radius: 3px;
      -o-border-radius: 3px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      & p {
        color: #6c6c6c;
        font-size: 14px;
        height: 28px;
        line-height: 28px;
      }
      & image {
        width: 12px;
        height: 12px;
      }
    }
  }

  @include e(age) {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;

    & .select {
      margin-left: 10px;
      width: 75px;
      height: 28px;
      border: 1rpx solid #d5d5d5;
      border-radius: 3px;
      -webkit-border-radius: 3px;
      -moz-border-radius: 3px;
      -ms-border-radius: 3px;
      -o-border-radius: 3px;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      & p {
        color: #6c6c6c;
        font-size: 14px;
        height: 28px;
        line-height: 28px;
      }
      & image {
        width: 12px;
        height: 12px;
      }
    }

    & .seperate {
      margin-left: 10px;
    }
  }

  @include e(name) {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;

    & .input {
      margin-left: 10px;
      font-size: 13px;
      & input {
        height: 40px;
        max-width: 490rpx;
        border: 1rpx solid #d5d5d5;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        padding-left: 10px;
      }
    }
  }

  @include e(phone) {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 20px;

    & .input {
      margin-left: 10px;
      font-size: 13px;

      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      & input {
        height: 40px;
        max-width: 490rpx;
        border: 1rpx solid #d5d5d5;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        padding-left: 10px;
      }

      & button {
        margin-left: 5px;
        padding: 0;
        height: 31px;
        width: 75px;
        font-size: 13px;
        color: #a3a3a3;
        background-color: #e3e3e3;
      }
    }
  }

  @include e(submit) {
    margin: 23px 27px 25px 25px;
    & button {
      font-size: 14px;
      line-height: 44px;
      width: 100%;
      height: 44px;
      background-color: #fd774d;
      color: #fff;
    }
  }
}
